﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace WMSSystem.WYJ
{
    public class OutbountDetails: AuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 货品信息Id（外键）
        /// </summary>
        public Guid CommoditiesId { get; set; }
        /// <summary>
        /// "出库单(外键)
        /// </summary>
        [Description("出库单(外键)")]
        [MaxLength(100)]
        public string InboundmanagementCode { get; set; }

        /// <summary>
        /// 数量变化表（外键）
        /// </summary>
        [Description("数量变化表(外键)")]
        [MaxLength(100)]
        public Guid Quantitylistid { get; set; }

        /// <summary>
        /// 库位Id（外键）
        /// </summary>
        [Description("库位Id(外键)")]
        [MaxLength(100)]
        public Guid Positionid { get; set; }
        /// <summary>
        ///"出库前库存
        /// </summary>
        [Description("出库前库存")]
        public int BefareNum { get; set; }

        /// <summary>
        /// 本次"出库数量
        /// </summary>
        [Description("本次出库数量")]
        public int Num { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        [Description("批次号")]
        [MaxLength(100)]
        public string Lotnumber { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        [Description("生产日期")]
        public DateTime Date { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Description("备注")]
        public string? Remark { get; set; }
    }
}
